/*
 * SpringRepairCommand.cpp
 *
 *  Created on: Nov 20, 2008
 *      Author: Ryan
 */

#include "SpringRepairCommand.h"

SpringRepairCommand::SpringRepairCommand( OOInterface::ConstUnitPtr unit ) :
	OOInterface::RepairCommand( unit )
{
}

SpringRepairCommand::~SpringRepairCommand()
{
}

::Command* SpringRepairCommand::getCommand() const
{
	::Command* cmd = new ::Command;
	cmd->id = CMD_REPAIR;

	cmd->params.push_back( getRepairUnit()->getID() );

	return cmd;
}
